package com.jd.user.service;

import com.jd.basic.dto.LoginDto;
import com.jd.basic.service.IBaseService;
import com.jd.basic.util.AjaxResult;
import com.jd.user.domain.Logininfo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author uco
 * @since 2023-07-04
 */
public interface ILogininfoService extends IBaseService<Logininfo> {

    AjaxResult accountLogin(LoginDto loginDto);

    AjaxResult wechatLogin(Map<String, String> map);

    AjaxResult wechatBinder(Map<String, String> map);
    Map<String, Object> loginSuccessJwtHandler(Logininfo logininfo);
}
